-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: minimal delegation storage #1
Conversation
src/MinimalDelegation.sol
Outdated
bytes32 private constant MINIMAL_DELEGATION_STORAGE_LOCATION = | ||
0x21f3d48e9724698d61a2dadd352c365013ee5d0f841f7fc54fb8a78301ee0c00; | ||
|
||
function _getMinimalDelegationStorage() private pure returns (MinimalDelegationStorage storage $) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we put this in a library?
so like the syntax here would be keyStorage.get()? i remember sometimes this is tricky but worth a shot
src/MinimalDelegation.sol
Outdated
bytes32 private constant MINIMAL_DELEGATION_STORAGE_LOCATION = | ||
0x21f3d48e9724698d61a2dadd352c365013ee5d0f841f7fc54fb8a78301ee0c00; | ||
|
||
function _getMinimalDelegationStorage() private pure returns (MinimalDelegationStorage storage $) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also where did the $ notation come from is that standard? i find it hard to read lol
No description provided.